<template>
	<view>
		<chatList ref="chatRef" />
		<tabbar currentPages="消息"></tabbar>
	</view>
</template>

<script setup lang="ts">
	import { onLoad, onShow } from '@dcloudio/uni-app'
	import { ref } from 'vue';
	let chatRef = ref()
	onShow(() => {
		if(chatRef.value){
			chatRef.value.getUserList()
		}
		
	})
</script>